package com.xqls.service.impl;

import com.xqls.dal.dao.FluggasDischargeRealdataRecordDao;
import com.xqls.dal.model.FluggasDischargeRealdataRecord;
import com.xqls.service.FluggasDischargeRealdataRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/7/14.
 */
@Service
public class FluggasDischargeRealdataRecordServiceImpl implements FluggasDischargeRealdataRecordService {
    @Autowired
    FluggasDischargeRealdataRecordDao recordDao;

    @Override
    public boolean insertList(List<FluggasDischargeRealdataRecord> fluggasList) {
        return recordDao.insertList(fluggasList);
    }

    @Override
    public int selectId() {
        return recordDao.selectId();
    }

    @Override
    public List<Map<String, Object>> selectByMap(Map<String, Object> map) {
        return recordDao.selectByMap(map);
    }

    @Override
    public List<Map<String, Object>> selectAll() {
        return recordDao.selectAll();
    }
}
